(function(){
    document.write('<a href="{$qrcode_href}" target="_blank"><img border="0" src="{$qrcode_url}" width="{$qrcode_width}" height="{$qrcode_height}"></a>');
})();